package effective.java.item59;

import java.util.concurrent.ThreadLocalRandom;

public class ThreadLocalRandomExample {
    public static void main(String[] args) {
        int randomNumber = ThreadLocalRandom.current().nextInt(0, 100); // 生成0到99之间的随机整数
        System.out.println("Random number: " + randomNumber);
    }
}
